package com.dgut.dto;

import com.dgut.entity.Products;
import com.dgut.entity.SaleOrders;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ContractSaveDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long contractId;
    private Long cusId;
    private Long empId;
    private Integer contractStatus;
    private LocalDate contractDate;
    private LocalDate contractEndDate;
    private String remark;
    private String cusName;
    private String empName;
    private List<Products> products = new ArrayList<>();
    private List<SaleOrders> saleOrders = new ArrayList<>();
}
